package com.tsing.pojo.vo;

/**
 * @auth 卢孝宇
 * @date 2023/12/13 16:50
 */
public class DynamicVO {
    private Long postId ;//帖子id
    private Long userId; //发帖人用户id
    private Long detailsId; //关联的评论id
    private String userImage; //用户头像
    private String userName; //用户名
    private String detailsImage; //帖子详情图片
    private String title; //标题
    private String Copywriting; //文案
    private String createDate; //发布日期
    private Long likeCount;  //点赞数
    private Integer Collections; //收藏数

    private Boolean ifLove;//是否点赞
    private Boolean ifCollect; //是否收藏

    public DynamicVO() {
    }

    public DynamicVO(Long postId, Long userId, Long detailsId, String userImage, String userName, String detailsImage, String title, String Copywriting, String createDate, Long likeCount, Integer Collections, Boolean ifLove, Boolean ifCollect) {
        this.postId = postId;
        this.userId = userId;
        this.detailsId = detailsId;
        this.userImage = userImage;
        this.userName = userName;
        this.detailsImage = detailsImage;
        this.title = title;
        this.Copywriting = Copywriting;
        this.createDate = createDate;
        this.likeCount = likeCount;
        this.Collections = Collections;
        this.ifLove = ifLove;
        this.ifCollect = ifCollect;
    }

    /**
     * 获取
     * @return postId
     */
    public Long getPostId() {
        return postId;
    }

    /**
     * 设置
     * @param postId
     */
    public void setPostId(Long postId) {
        this.postId = postId;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return detailsId
     */
    public Long getDetailsId() {
        return detailsId;
    }

    /**
     * 设置
     * @param detailsId
     */
    public void setDetailsId(Long detailsId) {
        this.detailsId = detailsId;
    }

    /**
     * 获取
     * @return userImage
     */
    public String getUserImage() {
        return userImage;
    }

    /**
     * 设置
     * @param userImage
     */
    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return detailsImage
     */
    public String getDetailsImage() {
        return detailsImage;
    }

    /**
     * 设置
     * @param detailsImage
     */
    public void setDetailsImage(String detailsImage) {
        this.detailsImage = detailsImage;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return Copywriting
     */
    public String getCopywriting() {
        return Copywriting;
    }

    /**
     * 设置
     * @param Copywriting
     */
    public void setCopywriting(String Copywriting) {
        this.Copywriting = Copywriting;
    }

    /**
     * 获取
     * @return createDate
     */
    public String getCreateDate() {
        return createDate;
    }

    /**
     * 设置
     * @param createDate
     */
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取
     * @return likeCount
     */
    public Long getLikeCount() {
        return likeCount;
    }

    /**
     * 设置
     * @param likeCount
     */
    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    /**
     * 获取
     * @return Collections
     */
    public Integer getCollections() {
        return Collections;
    }

    /**
     * 设置
     * @param Collections
     */
    public void setCollections(Integer Collections) {
        this.Collections = Collections;
    }

    /**
     * 获取
     * @return ifLove
     */
    public Boolean getIfLove() {
        return ifLove;
    }

    /**
     * 设置
     * @param ifLove
     */
    public void setIfLove(Boolean ifLove) {
        this.ifLove = ifLove;
    }

    /**
     * 获取
     * @return ifCollect
     */
    public Boolean getIfCollect() {
        return ifCollect;
    }

    /**
     * 设置
     * @param ifCollect
     */
    public void setIfCollect(Boolean ifCollect) {
        this.ifCollect = ifCollect;
    }

    public String toString() {
        return "DynamicVO{postId = " + postId + ", userId = " + userId + ", detailsId = " + detailsId + ", userImage = " + userImage + ", userName = " + userName + ", detailsImage = " + detailsImage + ", title = " + title + ", Copywriting = " + Copywriting + ", createDate = " + createDate + ", likeCount = " + likeCount + ", Collections = " + Collections + ", ifLove = " + ifLove + ", ifCollect = " + ifCollect + "}";
    }
}
